package luke4fun.wheresmymoney.bean;

public class SummaryBean {

	private String category;
	private int color;
	private int sum;
	private float percentage;

	public SummaryBean() {
	}

	public SummaryBean(String category, int color, int sum, float percentage) {
		this.category = category;
		this.color = color;
		this.sum = sum;
		this.percentage = percentage;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public int getColor() {
		return color;
	}

	public void setColor(int color) {
		this.color = color;
	}

	public int getSum() {
		return sum;
	}

	public void setSum(int sum) {
		this.sum = sum;
	}

	public float getPercentage() {
		return percentage;
	}

	public void setPercentage(float percentage) {
		this.percentage = percentage;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer("@SummarBean: {");
		sb.append("category= ");
		sb.append(category);
		sb.append(", sum= ");
		sb.append(sum);
		sb.append(", percentage= ");
		sb.append(percentage);
		
		return sb.toString();
	}
}
